<div>
    <h2><%= t ".register"%></h2>
    <%=error_messages_for :user-%>
    <% form_for :user, @user, :url=>users_path, :html=>{:method=>'post',:id=>"user_form"} do |f| %>
        <p><%=t ".mail"%></p>
        <%= f.text_field :mail, :size=>20 -%>
		<p class="form_tip"><%=t ".mail_format_tip" -%></p>

        <p><%= t ".password"%></p>
        <%= f.password_field :password, :size=>16 -%>
		<p class="form_tip"><%= t ".password_tip"%></p>

        <p><%= t ".password_retry"%></p>
        <%= f.password_field :password_confirmation, :size=>16 -%>
		<p class="form_tip"></p>

        <p><%= t ".username"%></p>
        <%= f.text_field :name, :size=>16 -%>
		<p class="form_tip"><%= t ".username_tip"%></p>

        <%= submit_tag t ".submit"%>
    <%end %>
</div>
